package com.im.security.dto;


import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.sql.Timestamp;

@Data
public class LoginVo {

    private Long id;

    private String username;

    private String userpic;

    private String phone;

    private String password;

    private String email;

    private int status;

    @JsonProperty("create_time")
    private Timestamp createTime;

    private String logintype;

    private String token;

    //    TODO init=1表示用户是老用户,直接进入主页
    private Integer init = 1;

    @JsonProperty("article_num")
    private  Integer articleNum;

    @JsonProperty("fans_num")
    private  Long fansNum;

    @JsonProperty("idols_num")
    private  Long idolsNum;

    private  String signature;

    @JsonProperty("user_icon")
    private  String userIcon;

    private  Integer idNum;


//    private UserInfo userInfo;
}
